import { ApiProperty } from '@nestjs/swagger';

export class ReturnWebsiteTypeDto {
  @ApiProperty({
    description: '类型id',
    required: true,
  })
  _id: string;

  @ApiProperty({
    description: '类型名称',
    required: true,
  })
  name: string;

  @ApiProperty({
    description: '类型描述',
  })
  description?: string;

  @ApiProperty({
    description: '创建时间',
    required: true,
  })
  createdTime?: Date;

  @ApiProperty({
    description: '更新时间',
    required: true,
  })
  updateTime?: Date;
}
